package com.hskn.hss.module.workruleitem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author hskn
 * @since 2021-05-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class WorkRuleItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 规则项id
     */
    @TableId(value = "work_rule_item_id", type = IdType.ASSIGN_UUID)
    private String workRuleItemId;

    /**
     * 系统名称
     */
    private String sysName;

    /**
     * 违规名称
     */
    private String customName;

    /**
     * 启用状态 1启用，0禁用
     */
    private Integer isEnable;

    /**
     * 备注
     */
    private String remark;

    /**
     * 具体的规则项 json
     */
    private String content;


    /**
     * 作业规则id
     */
    private String ruleId;

    /**
     * 聚合时间(分钟)
     */
    private Integer polymerizationtime;


    @TableField(exist = false)
    private String params;
}
